//
//  AppDelegate+dufaultUISeting.m
//  OCFrame
//
//  Created by hfzhangzhang on 2017/1/4.
//  Copyright © 2017年 hfzhangzhang. All rights reserved.
//


#import "AppDelegate+DefaultSeting.h"

@implementation AppDelegate (DefaultSeting)

- (void)defaultSetting
{
    
   // [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
    
    [UITextField appearance].tintColor = [UIColor grayColor];
    [UITextView appearance].tintColor = [UIColor grayColor];
    
    
    [UINavigationBar appearance].tintColor  = [UIColor whiteColor];
    [UINavigationBar appearance].translucent = NO;
    [UINavigationBar appearance].backgroundColor = [UIColor redColor];
    [[UINavigationBar appearance] setBackgroundImage:[UIImage new] forBarMetrics:UIBarMetricsDefault];
    //[[UINavigationBar appearance] setShadowImage:[UIImage zz_createImageWithColor:[UIColor redColor] size:CGSizeMake([UIScreen mainScreen].bounds.size.width, 0.5)]];
}


@end
